﻿<UserControl xmlns:dataInput="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data.Input"  x:Class="MessageBufferClient.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480">
    <Grid x:Name="LayoutRoot">
        <StackPanel>
            <StackPanel Orientation="Horizontal" Margin="10" HorizontalAlignment="Left">
                <TextBlock FontSize="20" Text="Service Namespace" Width ="300"/>
                <TextBox x:Name="serviceNamespaceTextBox" Width ="400"/>
            </StackPanel>

            <StackPanel Orientation="Horizontal" Margin="10" HorizontalAlignment="Left">
                <TextBlock FontSize="20" Text="IssuerName" Width ="300"/>
                <TextBox x:Name="issuerNameTextBox" Width ="400"/>
            </StackPanel>

            <StackPanel Orientation="Horizontal" Margin="10" HorizontalAlignment="Left">
                <TextBlock FontSize="20" Text="IssuerKey" Width ="300"/>
                <TextBox x:Name="issuerKeyTextBox" Width ="400" />
            </StackPanel>

            <StackPanel Orientation="Horizontal" Margin="10" HorizontalAlignment="Left">
                <TextBlock FontSize="20" Text="Message Buffer Name" Width ="300"/>
                <TextBox x:Name="messageBufferNameTextBox" Width ="400"/>
            </StackPanel>

            <StackPanel Orientation="Horizontal" Margin="10" HorizontalAlignment="Left">
                <Button Content="CREATE" x:Name="btnCreateMessageBuffer" Width="150" Height="45" Click="BtnCreateMessageBuffer_Click"/>
                <Button Content="SEND" x:Name="btnSendMessage" Width="150" Height="45" Click="BtnSendMessage_Click"/>
                <Button Content="RETRIEVE" x:Name="btnRetrieveMessage" Width="150" Height="45" Click="BtnRetrieveMessage_Click"/>
                <Button Content="GET" x:Name="btnGetMessageBuffer" Width="150" Height="45" Click="BtnGetMessageBuffer_Click"/>
                <Button Content="DELETE" x:Name="btnDeleteMessageBuffer" Width="150" Height="45" Click="BtnDeleteMessageBuffer_Click"/>
            </StackPanel>

            <StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="100">
                <TextBox x:Name="tbMessage" Width="500" Height="400" TextWrapping="Wrap"/>
            </StackPanel>

        </StackPanel>
    </Grid>
</UserControl>